﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Product.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	OnShelf
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="manage_location">
        <strong><a href="#" title="网站管理中心">网站管理中心</a></strong><span class="c_m_b">-</span><strong><a
            href="#" title="商品管理">商品管理</a></strong><span class="c_m_b">-</span>未上架商品</div>
    <div id="left">
        <div class="c">
            <div class="c_box_a">
                <div class="c_box_a_title">
                    <a href="#"><span class="icon_2">订单管理</span></a></div>
            </div>
            <div class="c_box_a_a cbb">
                <ul>
                    <li><a href="has_order.html" title="已下订单">已下订单</a></li>
                    <li><a href="shipped_orders" title="已发货订单">已发货订单</a></li>
                    <li><a href="order_history.html" title="历史订单">历史订单</a></li>
                    <li><a href="#" title="订单分析统计">订单分析统计</a></li>
                </ul>
            </div>
        </div>
        <div class="c">
            <div class="c_box_a">
                <div class="c_box_a_title">
                    <a href="#"><span class="icon_2">商品管理</span></a></div>
            </div>
            <div class="c_box_a_a cbb">
                <ul>
                    <li><a href="/Product/List/1" title="出售中的商品">出售中的商品</a></li>
                    <li><a href="/Product/Create" target="_blank" title="商品添加">商品添加</a></li>
                    <li><a href="/Product/List" title="未上架的商品">未上架的商品</a></li>
                    <li><a href="exchange.html" title="汇率表">汇率表</a></li>
                    <li><a href="historical_prices.html" title="商品历史价格查询">商品历史价格查询</a></li>
                    <li><a href="#" title="库存查询">库存查询</a></li>
                </ul>
            </div>
        </div>
        <div class="c">
            <div class="c_box_a">
                <div class="c_box_a_title">
                    <a href="#"><span class="icon_2">交易管理</span></a></div>
            </div>
            <div class="c_box_a_a cbb">
                <ul>
                    <li><a href="list_sold_items.html" title="已卖出的商品">已卖出的商品</a></li>
                    <li><a href="order_list_new.html" title="发货">发货</a></li>
                    <li><a href="consign_setting.html" title="发货设置">发货设置</a></li>
                </ul>
            </div>
        </div>
        <div class="c">
            <div class="c_box_a">
                <div class="c_box_a_title">
                    <a href="#"><span class="icon_2">个人设置</span></a></div>
            </div>
            <div class="c_box_a_a cbb">
                <ul>
                    <li><a href="personal_information.html" title="个人信息">个人信息</a></li>
                    <li><a href="modify_password.html" title="修改密码">修改密码</a></li>
                </ul>
            </div>
        </div>
        <div class="c">
            <div class="c_box_a">
                <div class="c_box_a_title">
                    <a href="#"><span class="icon_2">其他</span></a></div>
            </div>
            <div class="c_box_a_a">
                <ul>
                    <li><a href="#" title="售后服务条款">售后服务条款</a></li>
                    <li><a href="#" title="品质保障条款">品质保障条款</a></li>
                    <li><a href="#" title="评价管理">评价管理</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div id="right">
        <div class="i">
            <div class="c_box">
            <form id="form1" action=""> 
                <ul class="c_o_a c">
                    <li class="focus"><a href="#" title="未上架的商品">出售中的商品</a></li>
                </ul>
                <div class="c_box_th" id="tab_1">
                    <ul>
                        <li class="c_m_l_a">推荐状态</li>
                        <li class="c_m_l_b">商品名称</li>
                        <li class="c_m_l_c">数量</li>
                        <li class="c_m_l_d">当前价(原价)</li>
                        <li class="c_m_l_e">出价次数</li>
                        <li class="c_m_l_f">修改设置</li>
                    </ul>
                </div>
                <table border="0" cellspacing="0" cellpadding="0" class="c_m_d c_t_a">
                    <tr>
                        <th colspan="7" class="tal">
                            <input type="checkbox" id="" class="c_m_b" />全选
                        </th>
                    </tr>
                    <% foreach(var item in Model) {%>
                    <tr>
                        <td width="10%">
                            <input type="checkbox" id="" class="c_m_b" />
                        </td>
                        <td width="8%">
                            <div class="c_t_a_a">
                                <a href="shop_view.html" target="_blank">
                                    <img src="../../Content/images/ads/100000001.jpg" alt="" title="爱车屋 快乐格子米色系列 车用腰靠/腰枕NB-009M" /></a></div>
                        </td>
                        <td width="42%">
                            <a href="shop_view.html" class="c_a_b" target="_blank" title="爱车屋 快乐格子米色系列 车用腰靠/腰枕NB-009M">
                                <%: item.ProductName %></a>
                        </td>
                        <td width="10%" class="tac">
                            <%: item.Quantity %>
                        </td>
                        <td width="10%" class="tac">
                            <%: item.ProductPrice %>元
                        </td>
                        <td width="10%" class="tac">
                            2
                        </td>
                        <td width="10%" class="tac">
                            <a href="edit_product.html" class="c_a_b" target="_blank" title="编辑商品">编辑商品</a>
                        </td>
                    </tr>
                    <% } %>
                    <tr>
                        <th colspan="7" class="tal cbt">
                            <ul class="c_l_a c">
                                <li>
                                    <p>
                                        <input type="checkbox" id="" class="c_m_b" />全选</p>
                                </li>
                                <li><a href="#" class="c_a_c">上 架</a></li>
                                <li><a href="#" class="c_a_c">删 除</a></li>
                            </ul>
                        </th>
                    </tr>
                </table>
                <div class="c_m_c c">
                    <ul class="page c r">
                        <li><a href="#" class="btn_pre" title="上一页"></a></li>
                        <li class="focus"><a href="#" class="icon" title="">1</a></li>
                        <li><a href="#" class="icon" title="">2</a></li>
                        <li><a href="#" class="icon" title="">3</a></li>
                        <li><a href="#" class="icon" title="">4</a></li>
                        <li><a href="#" class="icon" title="">5</a></li>
                        <li><a href="#" class="icon" title="">6</a></li>
                        <li><a href="#" class="icon" title="">7</a></li>
                        <li><a href="#" class="btn_next" title="下一页"></a></li>
                    </ul>
                </div>
                </form>
            </div>
        </div>
    </div>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
<script type="text/javascript" src="../../Scripts/jquery-1.4.1.min.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#selectall").click(function () {
                if (this.checked == true) {
                    //alert('select');
                    var chklist = $("input:checkbox");
                    for (var i = 0; i < chklist.length; i++) {
                        chklist[i].checked = true;
                    }
                } else {
                    //alert('not select');
                    var chklist = $("input:checkbox");
                    for (var i = 0; i < chklist.length; i++) {
                        chklist[i].checked = false;
                    }
                }
            });
        });


    </script>
</asp:Content>
